package com.supergzt.entity.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.time.LocalDate;

import com.supergzt.entity.base.BaseEntity;
import lombok.Data;

@TableName(value ="pf_bill")
@Data
public class Bill extends BaseEntity {
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long billId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 类型[0收入 1支出]
     */
    private Integer type;

    /**
     * 类型名称
     */
    private String typeName;

    /**
     * 记账日期
     */
    private LocalDate billTime;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 备注
     */
    private String remark;
}
